from langchain_ollama import OllamaEmbeddings, ChatOllama

#大模型
model_name = 'deepseek-r1:7b'
# model_name = 'deepseek-coder:7b'
# model = OllamaLLM(model=model_name)
model = ChatOllama(model=model_name)

#embeddings
embeddings_model_name = 'shaw/dmeta-embedding-zh:latest'
embeddings = OllamaEmbeddings(
    # base_url = 'http://localhost:11434',
    model=embeddings_model_name
)